package com.biblio.dao;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.biblio.dom.Editor;


@Repository
@Transactional
@SuppressWarnings("unchecked")
public class EditorDao  extends BaseRepository<Editor>{

	public  List<Editor> getAllEditor(){
		return em.createQuery("select e from Editor e").getResultList();
	}

}

